require "GameState.ReconnectGameState"
ProcGame = class("ProcGame", ReconnectGameState)

function ProcGame:onBegin()
    ReconnectGameState.onBegin(self)
    Channels.KcpChannel:Connect(config.GAME_KCP_HOST, config.GAME_KCP_PORT, config.GAME_KCP_CONV)
end

function ProcGame:onEnd()
    Channels.KcpChannel:KcpClose()
    ReconnectGameState.onEnd(self)
end
